<template>
  <div>
    <header class="header">
      <h1>我的博客</h1>
      <nav>
        <NuxtLink to="/">🏠 首页</NuxtLink>
        <NuxtLink to="/blog">📚 博客</NuxtLink>
      </nav>
    </header>
    <NuxtPage />
  </div>
</template>

<style>
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f8f9fa;
  color: #333;
}
.header {
  background: #007bff;
  padding: 16px;
  text-align: center;
  color: white;
}
.header a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}
.header a:hover {
  text-decoration: underline;
}
</style>
